# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mate-indicator-applet
pkgver=1.26.0
pkgrel=1
pkgdesc="A small applet to display information from various applications consistently in the panel"
url="https://github.com/mate-desktop/mate-indicator-applet"
arch="all"
license="GPL-3.0-or-later AND LGPL-2.1-or-later"
makedepends="
	autoconf
	autoconf-archive
	automake
	glib-dev
	gtk+3.0-dev
	intltool
	libayatana-indicator-dev
	libido3-dev
	libtool
	mate-common
	mate-panel-dev
	"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-indicator-applet-$pkgver.tar.xz"

build() {
	NOCONFIGURE=1 ./autogen.sh
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--enable-static=no \
		--libexecdir=/usr/libexec \
		--sysconfdir=/etc \
		--prefix=/usr
	make

}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
677586b4090edd22871eb034b923795a01030a5270e633a11ed711171e49f487047fbf75daf1d69d491660bdf63421b900e06fd806eeef93df101058c0130c06  mate-indicator-applet-1.26.0.tar.xz
"
